<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/12/6
 * Time: 15:50
 * name:删除教师打卡信息
 * url:/erpUser/delete_teacher_sign
 */

//获取参数
$ots_id = $route->bodyParams["ots_id"];//主键ID

$whereArr = [
    "ots_id" => $ots_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_teacher_sign",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );